<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title></title>
</head>
<body>
    <script>
        //输出九九乘法表
        // document.write('hello')
        //输出九行，每行列数等于行  行*列=积
        for(var row=1;row<=9;row++){
            for(var col=1;col<=row;col++){
                document.write(row+'*'+col+'='+(row*col)+'&nbsp;&nbsp;&nbsp;&nbsp;')
            }
            document.write('<br/>');//换行
        }
    </script>
</body>
</html>